import { defHttp } from '@/utils/http/axios';
import { PhotoListResult } from './model/photoModel';

enum Api {
  REST = '/api/v1/photo/list',
}

/**
 * 后台用户-分页列表
 */
export const listPhotoApi = (queryForm: any) => {
  return defHttp.get<PhotoListResult[]>({
    url: Api.REST,
    params: queryForm,
  });
};
